package cn.tedu.property.community.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cn.tedu
 * @since 2021-08-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("community")
public class Community implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 小区编号
     */
    @TableField("serial_num")
    private String serialNum;

    /**
     * 小区名
     */
    @TableField("name")
    private String name;

    /**
     * 坐标
     */
    @TableField("coord")
    private String coord;

    /**
     * 占地面积
     */
    @TableField("floor_space")
    private Float floorSpace;

    /**
     * 总幢数
     */
    @TableField("house_total")
    private Integer houseTotal;

    /**
     * 总户数
     */
    @TableField("households_number")
    private Integer householdsNumber;

    /**
     * 绿化率
     */
    @TableField("greening_rate")
    private Float greeningRate;

    /**
     * 小区图片
     */
    @TableField("image")
    private String image;

    /**
     * 开发商名称
     */
    @TableField("developer_name")
    private String developerName;

    /**
     * 物业公司名称
     */
    @TableField("property_name")
    private String propertyName;

    /**
     * 状态
     */
    @TableField("ststus")
    private Integer ststus;

    /**
     * 小区管理员
     */
    @TableField("community_admin")
    private String communityAdmin;

    /**
     * 小区简介
     */
    @TableField("community_introduction")
    private String communityIntroduction;

    /**
     * 创建时间
     */
    @TableField("created_time")
    private LocalDateTime createdTime;

    /**
     * 结束时间
     */
    @TableField("stop_time")
    private LocalDateTime stopTime;


}
